home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: oce.nl!not-for-mail!news
- From: qqehe@oce.nl (Emile Heyns)
- Subject: Re: what does this code do?
- In-Reply-To: <4kbhu4$83@newsbf02.news.aol.com>
- X-Nntp-Posting-Host: tg17-pos
- Message-ID: <DpnBBA.B4C@oce.nl>
- To: mrdavc@aol.com (Mrdavc)
- Sender: news@oce.nl (The Daily News @ nntp01.oce.nl)
- Organization: Oce Nederland B.V. - Research & Development
- X-Newsreader: knews 0.9.3
- References: <3167217D.AC7@lex.infi.net> <4kbhu4$83@newsbf02.news.aol.com>
- Date: Wed, 10 Apr 1996 12:13:58 GMT
-
- In article <4kbhu4$83@newsbf02.news.aol.com>,
- mrdavc@aol.com (Mrdavc) writes:
- >linePtrs[currentLine][lineLen[currentLine]] = (char) key;
- >
- >so does that mean that the preceeding code is identical to the following:
- >
- >linePtrs[currentLine] = (char) key;
- >lineLen[currentLine] = (char) key;
-
- No. It's equivalent to:
-
- int x = currentLine;
- int y = lineLen[currentLine];
- linePtrs[x][y] = (char) key;
-
- --
- Bye,
-
- Emile
-
- ===========================================================
- Emile Heyns email: emile.heyns@hta.nl
-
- ===========================================================
- Alla sani sa mi e taki na ini disi email na mi denki wawan
- -- A no abi fu de dati mi wrokope abi na sem denki.
- ===========================================================
- Cloning is the sincerest form of flattery.
-
-